<include file="Public/head" />

<body class="no-skin">
    <include file="Public/header" />
    <div class="main-container" id="main-container">
        <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {}
        </script>
        <include file="Public/sidebar" />
        <div class="main-content">
            <div class="main-content-inner">
                <!-- #section:basics/content.breadcrumbs -->
                <include file="Public/breadcrumbs" />
                <!-- /section:basics/content.breadcrumbs -->
                <div class="page-content">
                    <include file="Public/set" />
                    <!-- /section:settings.box -->
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="row">
                                <form class="form-inline" action="" method="get">
                                    <a class="btn btn-success btn-sm" href="{:U('add')}" value=""> <i class="fa fa-plus"></i> 新增</a>
                                </form>
                            </div>
                            <!-- PAGE CONTENT BEGINS -->
                            <div class="space-4"></div>
                            <div class="row">
                                <form id="form" method="post" action="{:U('del')}">
                                    <table class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th width="5%">ID</th>
                                                <th width="5%">楼层名</th>
                                                <th width="10%">编号</th>
                                                <th width="">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <empty name="floors">
                                                <tr>
                                                    <td colspan=""></td>
                                                </tr>
                                                <else />
                                            <volist name="floors" id="vo">
                                                <tr>
                                                    <td class="center">{$vo.id}</td>
                                                    <td class="center">{$vo.name}</td>
                                                    <td class="center">{$vo.code}</td>
                                                    <td class="left">
                                                        <a class="green" href="{:U('update',array('id'=>$vo['id']))}" title="修改"> <i class="ace-icon fa fa-pencil bigger-130"></i> 修改</a>
                                                        <a class="red del" href="{:U('del',array('id'=>$vo['id']))}" title="删除"> <i class="ace-icon fa fa-trash-o bigger-130"></i> 删除</a>
                                                    </td>
                                                </tr>
                                            </volist>
                                            </empty>
                                        </tbody>
                                    </table>
                                </form>
                            </div>
                            <!-- PAGE CONTENT ENDS -->
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.page-content -->
            </div>
        </div>
        <!-- /.main-content -->
        <include file="Public/footer" />
    </div>
    <!-- /.main-container -->
    <include file="Public/footerjs" />
    <script src="__PUBLIC__/admin/js/amall/shop/index.js"></script>
    <!-- inline scripts related to this page -->
</body>

</html>